/*jadclipse*/// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) radix(10) lradix(10) 
// Source File Name:   MoHeaderVO.java

package nc.vo.mm.pub.pub1030;

import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Set;
import nc.ui.pub.ClientEnvironment;
import nc.vo.bd.b431.InvbasdocVO;
import nc.vo.ml.AbstractNCLangRes;
import nc.vo.ml.NCLangRes4VoTransl;
import nc.vo.mm.pub.MMCircularlyAccessibleValueObject;
import nc.vo.pub.ValidationException;
import nc.vo.pub.lang.*;
import nc.vo.sm.UserVO;

// Referenced classes of package nc.vo.mm.pub.pub1030:
//            KhwlszVO

public class MoHeaderVO extends MMCircularlyAccessibleValueObject {

	public MoHeaderVO() {
		busiDate = null;
		htDynamic = null;
		userid = null;
		userName = null;
	}

	public String getEntityName() {
		return "Mo";
	}

	public String getPrimaryKey() {
		return pk_moid;
	}

	public void setPrimaryKey(String newPk_moid) {
		pk_moid = newPk_moid;
	}

	public void setdcsl(UFDouble newdcsl) {
		dcsl = newdcsl;
	}

	public void setfdcsl(UFDouble newfdcsl) {
		fdcsl = newfdcsl;
	}

	public void validate() throws ValidationException {
		StringBuffer errmsg = new StringBuffer("");
		if (isNull(getWlbmid()))
			errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000268"));
		else if (isNull(getPk_produce()))
			errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000268"));
		if (isNull(getJhkgrq()))
			errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000269"));
		if (isNull(getJhwgrq()))
			errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000270"));
		if (isNull(getDdlx()))
			errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000271"));
		if (isNull(getScbmid()))
			errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000272"));
		if (isNull(getJhwgsl()))
			errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000273"));
		if (errmsg.length() > 0) {
			errmsg.insert(0, NCLangRes4VoTransl.getNCLangRes().getStrByID(
					"1009", "UPP-000274"));
			errmsg.delete(errmsg.length() - 1, errmsg.length());
			errmsg.append("}");
			throw new ValidationException(errmsg.toString());
		}
		if (getJhwgsl().compareTo(new UFDouble(0)) <= 0)
			errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000275"));
		if (getJhkgrq().after(getJhwgrq()))
			errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000276"));
		if (!isNull(getJhkssj()) && !isNull(getJhjssj())) {
			UFTime tjhks = new UFTime(getJhkssj());
			UFTime tjhjs = new UFTime(getJhjssj());
			if (getJhkgrq().compareTo(getJhwgrq()) == 0 && tjhks.after(tjhjs))
				errmsg.append(NCLangRes4VoTransl.getNCLangRes().getStrByID(
						"1009", "UPP-000277"));
		}
		if (errmsg.length() > 0)
			throw new ValidationException(errmsg.toString());
		else
			return;
	}

	public Object getAttributeValue(String attributeName) {
		if (attributeName.startsWith("Tsx_Syg_"))
			if (htDynamic == null || !htDynamic.containsKey(attributeName))
				return null;
			else
				return htDynamic.get(attributeName);
		if (attributeName.startsWith("inv_") && invVO != null) {
			String name = attributeName.substring(4);
			return invVO.getAttributeValue(name);
		}
		attributeName = getRealName(attributeName);
		if (attributeName == null)
			return null;
		if (attributeName.equals("bomver"))
			return bomver;
		if (attributeName.equals("busiDate"))
			return busiDate;
		if (attributeName.equals("dczt"))
			return dczt;
		if (attributeName.equals("ddlx"))
			return ddlx;
		if (attributeName.equals("ddlxShow"))
			return ddlxShow;
		if (attributeName.equals("durl"))
			return durl;
		if (attributeName.equals("dyzt"))
			return dyzt;
		if (attributeName.equals("dyztShow"))
			return dyztShow;
		if (attributeName.equals("fjhsl"))
			return fjhsl;
		if (attributeName.equals("fjldw"))
			return fjldw;
		if (attributeName.equals("fjlhsl"))
			return fjlhsl;
		if (attributeName.equals("fjlid"))
			return fjlid;
		if (attributeName.equals("fwcsl"))
			return fwcsl;
		if (attributeName.equals("frksl"))
			return frksl;
		if (attributeName.equals("gcbm"))
			return gcbm;
		if (attributeName.equals("gcmc"))
			return gcmc;
		if (attributeName.equals("invspec"))
			return invspec;
		if (attributeName.equals("invtype"))
			return invtype;
		if (attributeName.equals("jhjssj"))
			return jhjssj;
		if (attributeName.equals("jhkgrq"))
			return jhkgrq;
		if (attributeName.equals("jhkssj"))
			return jhkssj;
		if (attributeName.equals("jhwgrq"))
			return jhwgrq;
		if (attributeName.equals("jhwgsl"))
			return jhwgsl;
		if (attributeName.equals("jldw"))
			return jldw;
		if (attributeName.equals("jldwid"))
			return jldwid;
		if (attributeName.equals("ksbm"))
			return ksbm;
		if (attributeName.equals("ksid"))
			return ksid;
		if (attributeName.equals("ksmc"))
			return ksmc;
		if (attributeName.equals("lydjh"))
			return lydjh;
		if (attributeName.equals("lyfbid"))
			return lyfbid;
		if (attributeName.equals("lyid"))
			return lyid;
		if (attributeName.equals("lylx"))
			return lylx;
		if (attributeName.equals("lylxShow"))
			return lylxShow;
		if (attributeName.equals("memo"))
			return memo;
		if (attributeName.equals("pch"))
			return pch;
		if (attributeName.equals("pk_corp"))
			return pk_corp;
		if (attributeName.equals("pk_moid"))
			return pk_moid;
		if (attributeName.equals("pk_mokzid"))
			return pk_mokzid;
		if (attributeName.equals("pk_produce"))
			return pk_produce;
		if (attributeName.equals("pzh"))
			return pzh;
		if (attributeName.equals("rtver"))
			return rtver;
		if (attributeName.equals("scbm"))
			return scbm;
		if (attributeName.equals("scbmid"))
			return scbmid;
		if (attributeName.equals("scddh"))
			return scddh;
		if (attributeName.equals("gzzxmc"))
			return gzzxmc;
		if (attributeName.equals("gzzxid"))
			return gzzxid;
		if (attributeName.equals("bcid"))
			return bcid;
		if (attributeName.equals("bcmc"))
			return bcmc;
		if (attributeName.equals("bzid"))
			return bzid;
		if (attributeName.equals("bzmc"))
			return bzmc;
		if (attributeName.equals("sfdc"))
			return sfdc;
		if (attributeName.equals("sfjj"))
			return sfjj;
		if (attributeName.equals("sfydc"))
			if (dczt == null)
				return new UFBoolean(false);
			else
				return dczt.intValue() != 0 ? new UFBoolean(true)
						: new UFBoolean(false);
		if (attributeName.equals("shrid"))
			return shrid;
		if (attributeName.equals("shrq"))
			return shrq;
		if (attributeName.equals("sjjssj"))
			return sjjssj;
		if (attributeName.equals("sjkgrq"))
			return sjkgrq;
		if (attributeName.equals("sjkssj"))
			return sjkssj;
		if (attributeName.equals("sjwgrq"))
			return sjwgrq;
		if (attributeName.equals("sjwgsl"))
			return sjwgsl;
		if (attributeName.equals("rksl"))
			return rksl;
		if (attributeName.equals("ts"))
			return ts;
		if (attributeName.equals("userid"))
			return userid;
		if (attributeName.equals("userName"))
			return userName;
		if (attributeName.equals("wlbm"))
			return wlbm;
		if (attributeName.equals("wlbmid"))
			return wlbmid;
		if (attributeName.equals("wlmc"))
			return wlmc;
		if (attributeName.equals("xsddh"))
			return xsddh;
		if (attributeName.equals("xsddh"))
			return xsddh;
		if (attributeName.equals("ytid"))
			return ytid;
		if (attributeName.equals("ytlx"))
			return ytlx;
		if (attributeName.equals("ytfbid"))
			return ytfbid;
		if (attributeName.equals("ytdjh"))
			return ytdjh;
		if (attributeName.equals("yjwgrq"))
			return yjwgrq;
		if (attributeName.equals("ywy"))
			return ywy;
		if (attributeName.equals("ywyid"))
			return ywyid;
		if (attributeName.equals("yxj"))
			return yxj;
		if (attributeName.equals("zdrid"))
			return zdrid;
		if (attributeName.equals("zdrq"))
			return zdrq;
		if (attributeName.equals("zdy1"))
			return zdy1;
		if (attributeName.equals("zdy2"))
			return zdy2;
		if (attributeName.equals("zdy3"))
			return zdy3;
		if (attributeName.equals("zdy4"))
			return zdy4;
		if (attributeName.equals("zdy5"))
			return zdy5;
		if (attributeName.equals("zt"))
			return zt;
		if (attributeName.equals("ztShow"))
			return ztShow;
		if (attributeName.equals("sjscddh"))
			return sjscddh;
		if (attributeName.equals("sjscddid"))
			return sjscddid;
		if (attributeName.equals("judgecode"))
			return judgecode;
		if (attributeName.equals("clbm"))
			return clbm;
		if (attributeName.equals("clmc"))
			return clmc;
		if (attributeName.equals("clgg"))
			return clgg;
		if (attributeName.equals("clxh"))
			return clxh;
		if (attributeName.equals("clth"))
			return clth;
		if (attributeName.equals("clbz"))
			return clbz;
		if (attributeName.equals("vdef1"))
			return vdef1;
		if (attributeName.equals("vdef2"))
			return vdef2;
		if (attributeName.equals("vdef3"))
			return vdef3;
		if (attributeName.equals("vdef4"))
			return vdef4;
		if (attributeName.equals("vdef5"))
			return vdef5;
		if (attributeName.equals("vdef6"))
			return vdef6;
		if (attributeName.equals("vdef7"))
			return vdef7;
		if (attributeName.equals("vdef8"))
			return vdef8;
		if (attributeName.equals("vdef9"))
			return vdef9;
		if (attributeName.equals("vdef10"))
			return vdef10;
		else
			return super.getAttributeValue(attributeName);
	}

	public void setAttributeValue(String name, Object value) {
		if (name.startsWith("Tsx_Syg_")) {
			if (htDynamic == null)
				htDynamic = new HashMap(10);
			if (value != null && value.toString().trim().length() > 0)
				htDynamic.put(name, value.toString().trim());
			else if (htDynamic.containsKey(name))
				htDynamic.remove(name);
		}
		name = getRealName(name);
		if (name == null)
			return;
		try {
			if (name.equals("bomver"))
				bomver = (String) value;
			else if (name.equals("busiDate"))
				busiDate = value != null && !value.equals("") ? UFDate
						.getDate(value.toString()) : null;
			else if (name.equals("dczt"))
				dczt = (Integer) value;
			else if (name.equals("ddlx"))
				ddlx = (Integer) value;
			else if (name.equals("ddlxShow"))
				ddlxShow = (String) value;
			else if (name.equals("durl"))
				durl = (String) value;
			else if (name.equals("dyzt"))
				dyzt = (Integer) value;
			else if (name.equals("dyztShow"))
				dyztShow = (String) value;
			else if (name.equals("fjhsl"))
				fjhsl = value != null ? new UFDouble(value.toString()) : null;
			else if (name.equals("fjldw"))
				fjldw = (String) value;
			else if (name.equals("fjlhsl"))
				fjlhsl = value != null ? new UFDouble(value.toString()) : null;
			else if (name.equals("fjlid"))
				fjlid = (String) value;
			else if (name.equals("fwcsl"))
				fwcsl = new UFDouble(value != null ? value.toString() : null);
			else if (name.equals("frksl"))
				frksl = new UFDouble(value != null ? value.toString() : null);
			else if (name.equals("gcbm"))
				gcbm = (String) value;
			else if (name.equals("gcmc"))
				gcmc = (String) value;
			else if (name.equals("invspec"))
				invspec = (String) value;
			else if (name.equals("invtype"))
				invtype = (String) value;
			else if (name.equals("jhjssj"))
				jhjssj = (String) value;
			else if (name.equals("jhkgrq"))
				jhkgrq = value != null && !value.equals("") ? UFDate
						.getDate(value.toString()) : null;
			else if (name.equals("jhkssj"))
				jhkssj = (String) value;
			else if (name.equals("jhwgrq"))
				jhwgrq = value != null && !value.equals("") ? UFDate
						.getDate(value.toString()) : null;
			else if (name.equals("jhwgsl"))
				jhwgsl = new UFDouble(value != null ? value.toString() : "");
			else if (name.equals("jldw"))
				jldw = (String) value;
			else if (name.equals("jldwid"))
				jldwid = (String) value;
			else if (name.equals("ksbm"))
				ksbm = (String) value;
			else if (name.equals("ksid"))
				ksid = (String) value;
			else if (name.equals("ksmc"))
				ksmc = (String) value;
			else if (name.equals("lydjh"))
				lydjh = (String) value;
			else if (name.equals("lyfbid"))
				lyfbid = (String) value;
			else if (name.equals("lyid"))
				lyid = (String) value;
			else if (name.equals("lylx"))
				lylx = (Integer) value;
			else if (name.equals("lylxShow"))
				lylxShow = (String) value;
			else if (name.equals("memo"))
				memo = (String) value;
			else if (name.equals("pch"))
				pch = (String) value;
			else if (name.equals("pk_corp"))
				pk_corp = (String) value;
			else if (name.equals("pk_moid"))
				pk_moid = (String) value;
			else if (name.equals("pk_mokzid"))
				pk_mokzid = (String) value;
			else if (name.equals("pk_produce"))
				pk_produce = (String) value;
			else if (name.equals("pzh"))
				pzh = (String) value;
			else if (name.equals("rtver"))
				rtver = (String) value;
			else if (name.equals("scbm"))
				scbm = (String) value;
			else if (name.equals("scbmid"))
				scbmid = (String) value;
			else if (name.equals("scddh"))
				scddh = (String) value;
			else if (name.equals("gzzxid"))
				gzzxid = (String) value;
			else if (name.equals("gzzxmc"))
				gzzxmc = (String) value;
			else if (name.equals("bcid"))
				bcid = (String) value;
			else if (name.equals("bcmc"))
				bcmc = (String) value;
			else if (name.equals("bzid"))
				bzid = (String) value;
			else if (name.equals("bzmc"))
				bzmc = (String) value;
			else if (name.equals("sfdc"))
				sfdc = new UFBoolean(value != null ? value.toString() : "");
			else if (name.equals("sfjj"))
				sfjj = new UFBoolean(value != null ? value.toString() : "");
			else if (name.equals("sfydc"))
				sfydc = new UFBoolean(value != null ? value.toString() : "");
			else if (name.equals("shrid"))
				shrid = (String) value;
			else if (name.equals("shrq"))
				shrq = value != null && !value.equals("") ? UFDate
						.getDate(value.toString()) : null;
			else if (name.equals("sjjssj"))
				sjjssj = (String) value;
			else if (name.equals("sjkgrq"))
				sjkgrq = value != null && !value.equals("") ? UFDate
						.getDate(value.toString()) : null;
			else if (name.equals("sjkssj"))
				sjkssj = (String) value;
			else if (name.equals("sjwgrq"))
				sjwgrq = value != null && !value.equals("") ? UFDate
						.getDate(value.toString()) : null;
			else if (name.equals("sjwgsl"))
				sjwgsl = new UFDouble(value != null ? value.toString() : "");
			else if (name.equals("rksl"))
				rksl = new UFDouble(value != null ? value.toString() : "");
			else if (name.equals("dcsl"))
				dcsl = new UFDouble(value != null ? value.toString() : "");
			else if (name.equals("fdcsl"))
				fdcsl = new UFDouble(value != null ? value.toString() : "");
			else if (name.equals("ts"))
				ts = (String) value;
			else if (name.equals("userid"))
				userid = (String) value;
			else if (name.equals("userName"))
				userName = (String) value;
			else if (name.equals("wlbm"))
				wlbm = (String) value;
			else if (name.equals("wlbmid"))
				wlbmid = (String) value;
			else if (name.equals("wlmc"))
				wlmc = (String) value;
			else if (name.equals("xsddh"))
				xsddh = (String) value;
			else if (name.equals("xsddh"))
				xsddh = (String) value;
			else if (name.equals("ytid"))
				ytid = (String) value;
			else if (name.equals("ytlx"))
				ytlx = (Integer) value;
			else if (name.equals("ytfbid"))
				ytfbid = (String) value;
			else if (name.equals("ytdjh"))
				ytdjh = (String) value;
			else if (name.equals("yjwgrq"))
				yjwgrq = value != null && !value.equals("") ? UFDate
						.getDate(value.toString()) : null;
			else if (name.equals("ywy"))
				ywy = (String) value;
			else if (name.equals("ywyid"))
				ywyid = (String) value;
			else if (name.equals("yxj"))
				yxj = (Integer) value;
			else if (name.equals("zdrid"))
				zdrid = (String) value;
			else if (name.equals("zdrq"))
				zdrq = value != null && !value.equals("") ? UFDate
						.getDate(value.toString()) : null;
			else if (name.equals("zdy1"))
				zdy1 = value != null ? value.toString() : null;
			else if (name.equals("zdy2"))
				zdy2 = value != null ? value.toString() : null;
			else if (name.equals("zdy3"))
				zdy3 = value != null ? value.toString() : null;
			else if (name.equals("zdy4"))
				zdy4 = value != null ? value.toString() : null;
			else if (name.equals("zdy5"))
				zdy5 = value != null ? value.toString() : null;
			else if (name.equals("zt"))
				zt = (String) value;
			else if (name.equals("ztShow"))
				ztShow = (String) value;
			else if (name.equals("judgecode"))
				judgecode = (String) value;
			else if (name.equals("clbm"))
				clbm = (String) value;
			else if (name.equals("clmc"))
				clmc = (String) value;
			else if (name.equals("clgg"))
				clgg = (String) value;
			else if (name.equals("clxh"))
				clxh = (String) value;
			else if (name.equals("clth"))
				clth = (String) value;
			else if (name.equals("clbz"))
				clbz = (String) value;
			else if (name.equals("vdef1"))
				vdef1 = (String) value;
			else if (name.equals("vdef2"))
				vdef2 = (String) value;
			else if (name.equals("vdef3"))
				vdef3 = (String) value;
			else if (name.equals("vdef4"))
				vdef4 = (String) value;
			else if (name.equals("vdef5"))
				vdef5 = (String) value;
			else if (name.equals("vdef6"))
				vdef6 = (String) value;
			else if (name.equals("vdef7"))
				vdef7 = (String) value;
			else if (name.equals("vdef8"))
				vdef8 = (String) value;
			else if (name.equals("vdef9"))
				vdef9 = (String) value;
			else if (name.equals("vdef10"))
				vdef10 = (String) value;
			else
				super.setAttributeValue(name, value);
		} catch (ClassCastException e) {
			throw new ClassCastException(
					(new StringBuilder())
							.append(
									"setAttributeValue\u65B9\u6CD5\u4E2D\u4E3A ")
							.append(name)
							.append(
									" \u8D4B\u503C\u65F6\u7C7B\u578B\u8F6C\u6362\u9519\u8BEF\uFF01\uFF08\u503C\uFF1A")
							.append(value).append("\uFF09").toString());
		}
	}

	public MoHeaderVO(UFDate date, UserVO user) {
		busiDate = null;
		htDynamic = null;
		userid = null;
		userName = null;
		busiDate = date;
		if (user != null) {
			userid = user.getPrimaryKey();
			userName = user.getUserName();
		}
	}

	public Object clone() {
		Object o = null;
		try {
			o = super.clone();
		} catch (Exception e) {
		}
		MoHeaderVO vo = (MoHeaderVO) o;
		return vo;
	}

	private String convertToMethodName(String name) {
		if (name != null) {
			String firstChar = name.substring(0, 1);
			name = (new StringBuilder()).append(firstChar.toUpperCase())
					.append(name.substring(1)).toString();
		}
		return name;
	}

	public String[] getAttributeNames() {
		return (new String[] { "pk_moid", "userid", "userName", "busiDate",
				"pk_corp", "gcbm", "gcmc", "scddh", "xsddh", "wlbmid", "dcsl",
				"fdcsl", "pk_produce", "wlbm", "wlmc", "invspec", "invtype",
				"jldwid", "jldw", "jhkgrq", "jhwgrq", "yjwgrq", "jhkssj",
				"jhjssj", "jhwgsl", "scbmid", "scbm", "sfdc", "zt", "ztshow",
				"sfjj", "ddlx", "ddlxshow", "zdrid", "zdrq", "shrid", "shrq",
				"sjkgrq", "sjwgrq", "sjkssj", "sjjssj", "sjwgsl", "ywyid",
				"ywy", "bomver", "rtver", "dczt", "memo", "zdy1", "zdy2",
				"zdy3", "zdy4", "zdy5", "zyx1", "zyx2", "zyx3", "zyx4", "zyx5",
				"pzh", "pch", "ksid", "ksbm", "ksmc", "ts", "dyzt", "dyztshow",
				"pickmzt", "pickmztShow", "ts", "pk_mokzid", "yxj", "fjlid",
				"fjhsl", "fwcsl", "durl", "lylx", "lylxShow", "ytid", "ytlx",
				"ytfbid", "ytdjh", "lyid", "lyfbid", "lydjh", "scxid", "scxbm",
				"scxmc",
				"vdef1",
				"vdef2",
				"vdef3",
				"vdef4",
				"vdef5",
				"vdef6",
				"vdef7",
				"vdef8",
				"vdef9",
				"vdef10",
				});
	}

	public String getBomver() {
		return bomver;
	}

	public UFDate getBusiDate() {
		return busiDate;
	}

	public Integer getDczt() {
		return dczt;
	}

	public Integer getDdlx() {
		return ddlx;
	}

	public String getDdlxShow() {
		return ddlxShow;
	}

	public String getDurl() {
		return durl;
	}

	public Integer getDyzt() {
		return dyzt;
	}

	public String getDyztShow() {
		return dyztShow;
	}

	public UFDouble getFjhsl() {
		return fjhsl;
	}

	public String getFjldw() {
		return fjldw;
	}

	public UFDouble getFjlhsl() {
		return fjlhsl;
	}

	public String getFjlid() {
		return fjlid;
	}

	public UFDouble getFwcsl() {
		return fwcsl;
	}

	public String getGcbm() {
		return gcbm;
	}

	public String getGcmc() {
		return gcmc;
	}

	public String getInvspec() {
		return invspec;
	}

	public String getInvtype() {
		return invtype;
	}

	public String getJhjssj() {
		return jhjssj;
	}

	public UFDate getJhkgrq() {
		return jhkgrq;
	}

	public String getJhkssj() {
		return jhkssj;
	}

	public UFDate getJhwgrq() {
		return jhwgrq;
	}

	public UFDouble getJhwgsl() {
		return jhwgsl;
	}

	public String getJldw() {
		return jldw;
	}

	public String getJldwid() {
		return jldwid;
	}

	public String getPickmztShow() {
		return pickmztshow;
	}

	public String getKsbm() {
		return ksbm;
	}

	public String getKsid() {
		return ksid;
	}

	public String getKsmc() {
		return ksmc;
	}

	public String getLydjh() {
		return lydjh;
	}

	public String getLyfbid() {
		return lyfbid;
	}

	public String getLyid() {
		return lyid;
	}

	public Integer getLylx() {
		return lylx;
	}

	public String getLylxShow() {
		return lylxShow;
	}

	public String getMemo() {
		return memo;
	}

	public String getPch() {
		return pch;
	}

	public String getPk_corp() {
		return pk_corp;
	}

	public String getPk_moid() {
		return pk_moid;
	}

	public String getPk_mokzid() {
		return pk_mokzid;
	}

	public UFDouble getdcsl() {
		return dcsl;
	}

	public UFDouble getfdcsl() {
		return fdcsl;
	}

	public String getPk_produce() {
		return pk_produce;
	}

	public String getPzh() {
		return pzh;
	}

	private static String getRealName(String alias) {
		if (alias == null || alias.trim().length() == 0)
			return null;
		if (alias.equalsIgnoreCase("unitcode"))
			alias = "pk_corp";
		else if (alias.equalsIgnoreCase("pk_calbody"))
			alias = "gcbm";
		else if (alias.equalsIgnoreCase("bodyname"))
			alias = "gcmc";
		else if (alias.equalsIgnoreCase("pk_invbasdoc"))
			alias = "wlbmid";
		else if (alias.equalsIgnoreCase("invcode"))
			alias = "wlbm";
		else if (alias.equalsIgnoreCase("invname"))
			alias = "wlmc";
		else if (alias.equalsIgnoreCase("graphid"))
			alias = "wlth";
		else if (alias.equalsIgnoreCase("pk_measdoc"))
			alias = "jldwid";
		else if (alias.equalsIgnoreCase("measname")
				|| alias.equalsIgnoreCase("jldwmc"))
			alias = "jldw";
		else if (alias.equalsIgnoreCase("pk_deptdoc"))
			alias = "scbmid";
		else if (alias.equalsIgnoreCase("deptname"))
			alias = "scbm";
		else if (alias.equalsIgnoreCase("pk_psndoc"))
			alias = "ywyid";
		else if (alias.equalsIgnoreCase("psnname"))
			alias = "ywy";
		else if (alias.equalsIgnoreCase("pk_cumandoc"))
			alias = "ksid";
		else if (alias.equalsIgnoreCase("custcode"))
			alias = "ksbm";
		else if (alias.equalsIgnoreCase("custname"))
			alias = "ksmc";
		else if (alias.equalsIgnoreCase("pk_wkid"))
			alias = "gzzxid";
		else if (alias.equalsIgnoreCase("pk_wtid"))
			alias = "bcid";
		else if (alias.equalsIgnoreCase("pk_pgaid"))
			alias = "bzid";
		else if (alias.equalsIgnoreCase("bcname"))
			alias = "bcmc";
		if (hmapFields == null) {
			hmapFields = new HashMap();
			Field fields[] = MoHeaderVO.class.getFields();
			for (int i = 0; i < fields.length; i++)
				hmapFields.put(fields[i].getName().toLowerCase(), fields[i]
						.getName());

		}
		if (alias.startsWith("freeitem"))
			return alias;
		if (alias.startsWith("wlth") || alias.equals("graphid"))
			return alias;
		if (alias.startsWith("clbm") || alias.startsWith("clmc")
				|| alias.startsWith("clgg") || alias.startsWith("clxh")
				|| alias.startsWith("clth") || alias.startsWith("clbz"))
			return alias;
		else
			return (String) hmapFields.get(alias.toLowerCase());
	}

	public String getRtver() {
		return rtver;
	}

	public String getScbm() {
		return scbm;
	}

	public String getScbmid() {
		return scbmid;
	}

	public String getScddh() {
		return scddh;
	}

	public UFBoolean getSfdc() {
		return sfdc;
	}

	public UFBoolean getSfjj() {
		return sfjj;
	}

	public UFBoolean getSfydc() {
		return sfydc;
	}

	public String getShrid() {
		return shrid;
	}

	public UFDate getShrq() {
		return shrq;
	}

	public String getSjjssj() {
		return sjjssj;
	}

	public UFDate getSjkgrq() {
		return sjkgrq;
	}

	public String getSjkssj() {
		return sjkssj;
	}

	public UFDate getSjwgrq() {
		return sjwgrq;
	}

	public UFDouble getSjwgsl() {
		return sjwgsl;
	}

	public String getTs() {
		return ts;
	}

	public String getUserid() {
		return userid;
	}

	public String getUserName() {
		return userName;
	}

	public String getWlbm() {
		return wlbm;
	}

	public String getWlbmid() {
		return wlbmid;
	}

	public String getWlmc() {
		return wlmc;
	}

	public String getXsddh() {
		return xsddh;
	}

	public String getYtid() {
		return ytid;
	}

	public Integer getYtlx() {
		return ytlx;
	}

	public String getYtfbid() {
		return ytfbid;
	}

	public String getYtdjh() {
		return ytdjh;
	}

	public UFDate getYjwgrq() {
		return yjwgrq;
	}

	public String getYwy() {
		return ywy;
	}

	public String getYwyid() {
		return ywyid;
	}

	public Integer getYxj() {
		return yxj;
	}

	public String getZdrid() {
		return zdrid;
	}

	public UFDate getZdrq() {
		return zdrq;
	}

	public String getZdy1() {
		return zdy1;
	}

	public String getZdy2() {
		return zdy2;
	}

	public String getZdy3() {
		return zdy3;
	}

	public String getZdy4() {
		return zdy4;
	}

	public String getZdy5() {
		return zdy5;
	}

	public String getZt() {
		return zt;
	}

	public String getZtShow() {
		return ztShow;
	}

	public final void initVO() {
		ClientEnvironment cle = ClientEnvironment.getInstance();
		busiDate = cle.getBusinessDate();
		userid = cle.getUser() != null ? cle.getUser().getPrimaryKey() : null;
		userName = cle.getUser() != null ? cle.getUser().getUserName() : null;
	}

	private boolean isNull(Object o) {
		return o == null || o.toString().trim().length() == 0;
	}

	public void setBomver(String newBomver) {
		bomver = newBomver;
	}

	public void setBusiDate(UFDate newBusiDate) {
		busiDate = newBusiDate;
	}

	public void setDczt(Integer newDczt) {
		dczt = newDczt;
		sfydc = new UFBoolean(dczt.intValue() > 0);
	}

	public void setDdlx(Integer newDdlx) {
		ddlx = newDdlx;
	}

	public void setDdlxShow(String newDdlxshow) {
		ddlxShow = newDdlxshow;
	}

	public void setDefaultValues() {
		if (isNull(getSfdc()))
			setSfdc(new UFBoolean(false));
		if (isNull(getSfjj()))
			setSfjj(new UFBoolean(false));
		if (isNull(getZt())) {
			setZt("A");
			setZtShow(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000278"));
		}
		if (isNull(getDdlx())) {
			setDdlx(new Integer(0));
			setDdlxShow(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000279"));
		}
		if (isNull(getDczt()))
			setDczt(new Integer(0));
		if (isNull(getDyzt())) {
			setDyzt(new Integer(0));
			setDyztShow(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000280"));
		}
		if (isNull(getLylx()))
			setLylxShow(NCLangRes4VoTransl.getNCLangRes().getStrByID("1009",
					"UPP-000281"));
	}

	public void setDurl(String newDurl) {
		durl = newDurl;
	}

	public void setDyzt(Integer newDyzt) {
		dyzt = newDyzt;
	}

	public void setDyztShow(String newDyztShow) {
		dyztShow = newDyztShow;
	}

	public void setFjhsl(UFDouble newFjhsl) {
		fjhsl = newFjhsl;
	}

	public void setFjldw(String newFjldw) {
		fjldw = newFjldw;
	}

	public void setFjlhsl(UFDouble newFjlhsl) {
		fjlhsl = newFjlhsl;
	}

	public void setFjlid(String newFjlid) {
		fjlid = newFjlid;
	}

	public void setFwcsl(UFDouble newFwcsl) {
		fwcsl = newFwcsl;
	}

	public void setGcbm(String newGcbm) {
		gcbm = newGcbm;
	}

	public void setGcmc(String newGcmc) {
		gcmc = newGcmc;
	}

	public void setInvspec(String newInvspec) {
		invspec = newInvspec;
	}

	public void setInvtype(String newInvtype) {
		invtype = newInvtype;
	}

	public void setJhjssj(String newJhjssj) {
		jhjssj = newJhjssj;
	}

	public void setJhkgrq(UFDate newJhkgrq) {
		jhkgrq = newJhkgrq;
	}

	public void setJhkssj(String newJhkssj) {
		jhkssj = newJhkssj;
	}

	public void setJhwgrq(UFDate newJhwgrq) {
		jhwgrq = newJhwgrq;
	}

	public void setJhwgsl(UFDouble newJhwgsl) {
		jhwgsl = newJhwgsl;
	}

	public void setJldw(String newJldw) {
		jldw = newJldw;
	}

	public void setJldwid(String newJldwid) {
		jldwid = newJldwid;
	}

	public void setKsbm(String newKsbm) {
		ksbm = newKsbm;
	}

	public void setKsid(String newKsid) {
		ksid = newKsid;
	}

	public void setKsmc(String newKsmc) {
		ksmc = newKsmc;
	}

	public void setLydjh(String newLydjh) {
		lydjh = newLydjh;
	}

	public void setLyfbid(String newLyfbid) {
		lyfbid = newLyfbid;
	}

	public void setLyid(String newLyid) {
		lyid = newLyid;
	}

	public void setLylx(Integer newLylx) {
		lylx = newLylx;
	}

	public void setLylxShow(String newLylxShow) {
		lylxShow = newLylxShow;
	}

	public void setMemo(String newMemo) {
		memo = newMemo;
	}

	public void setPch(String newPch) {
		pch = newPch;
	}

	public void setPk_corp(String newPk_corp) {
		pk_corp = newPk_corp;
	}

	public void setPk_moid(String newPk_moid) {
		pk_moid = newPk_moid;
	}

	public void setPk_mokzid(String newPk_mokzid) {
		pk_mokzid = newPk_mokzid;
	}

	public void setPk_produce(String newPk_produce) {
		pk_produce = newPk_produce;
	}

	public void setPzh(String newPzh) {
		pzh = newPzh;
	}

	public void setPickmztShow(String ztShow) {
		pickmztshow = ztShow;
	}

	public void setRtver(String newRtver) {
		rtver = newRtver;
	}

	public void setScbm(String newScbm) {
		scbm = newScbm;
	}

	public void setScbmid(String newScbmid) {
		scbmid = newScbmid;
	}

	public void setScddh(String newScddh) {
		scddh = newScddh;
	}

	public void setSfdc(UFBoolean newSfdc) {
		sfdc = newSfdc;
	}

	public void setSfjj(UFBoolean newSfjj) {
		sfjj = newSfjj;
	}

	public void setSfydc(UFBoolean newSfydc) {
		sfydc = newSfydc;
	}

	public void setShrid(String newShrid) {
		shrid = newShrid;
	}

	public void setShrq(UFDate newShrq) {
		shrq = newShrq;
	}

	public void setSjjssj(String newSjjssj) {
		sjjssj = newSjjssj;
	}

	public void setSjkgrq(UFDate newSjkgrq) {
		sjkgrq = newSjkgrq;
	}

	public void setSjkssj(String newSjkssj) {
		sjkssj = newSjkssj;
	}

	public void setSjwgrq(UFDate newSjwgrq) {
		sjwgrq = newSjwgrq;
	}

	public void setSjwgsl(UFDouble newSjwgsl) {
		sjwgsl = newSjwgsl;
	}

	public void setTs(String newTs) {
		ts = newTs;
	}

	public void setUserid(String newUserid) {
		userid = newUserid;
	}

	public void setUserName(String newUserName) {
		userName = newUserName;
	}

	public void setWlbm(String newWlbm) {
		wlbm = newWlbm;
	}

	public void setWlbmid(String newWlbmid) {
		wlbmid = newWlbmid;
	}

	public void setWlmc(String newWlmc) {
		wlmc = newWlmc;
	}

	public void setXsddh(String newXsddh) {
		xsddh = newXsddh;
	}

	public void setYjwgrq(UFDate newYjwgrq) {
		yjwgrq = newYjwgrq;
	}

	public void setYtid(String newytid) {
		ytid = newytid;
	}

	public void setYtlx(Integer newytlx) {
		ytlx = newytlx;
	}

	public void setYtfbid(String newytfbid) {
		ytfbid = newytfbid;
	}

	public void setYtdjh(String newytdjh) {
		ytdjh = newytdjh;
	}

	public void setYwy(String newYwy) {
		ywy = newYwy;
	}

	public void setYwyid(String newYwyid) {
		ywyid = newYwyid;
	}

	public void setYxj(Integer newYxj) {
		yxj = newYxj;
	}

	public void setZdrid(String newZdrid) {
		zdrid = newZdrid;
	}

	public void setZdrq(UFDate newZdrq) {
		zdrq = newZdrq;
	}

	public void setZdy1(String newZdy1) {
		zdy1 = newZdy1;
	}

	public void setZdy2(String newZdy2) {
		zdy2 = newZdy2;
	}

	public void setZdy3(String newZdy3) {
		zdy3 = newZdy3;
	}

	public void setZdy4(String newZdy4) {
		zdy4 = newZdy4;
	}

	public void setZdy5(String newZdy5) {
		zdy5 = newZdy5;
	}

	public void setZt(String newZt) {
		zt = newZt;
	}

	public void setZtShow(String newZtshow) {
		ztShow = newZtshow;
	}

	public KhwlszVO[] getAllKhwl() {
		if (htDynamic == null)
			return new KhwlszVO[0];
		Object keys[] = htDynamic.keySet().toArray();
		KhwlszVO khwls[] = new KhwlszVO[keys.length];
		for (int i = 0; i < khwls.length; i++) {
			khwls[i] = new KhwlszVO();
			khwls[i]
					.setTsxid(keys[i].toString().substring("Tsx_Syg_".length()));
			khwls[i].setTsxqz((String) htDynamic.get(keys[i]));
		}

		return khwls;
	}

	public UFDouble getRksl() {
		return rksl;
	}

	public String getSjscddh() {
		return sjscddh;
	}

	public String getSjscddid() {
		return sjscddid;
	}

	public String getGzzxid() {
		return gzzxid;
	}

	public String getBzmc() {
		return bzmc;
	}

	public String getBzid() {
		return bzid;
	}

	public String getGzzxmc() {
		return gzzxmc;
	}

	public String getBcid() {
		return bcid;
	}

	public String getBcmc() {
		return bcmc;
	}

	public UFDouble getFrksl() {
		return frksl;
	}

	public String getScxid() {
		return scxid;
	}

	public String getScxmc() {
		return scxmc;
	}

	public void setInvBasdoc(InvbasdocVO invbasVO) {
		invVO = invbasVO;
	}

	public void setKhwlVOs(KhwlszVO khwls[]) {
		if (khwls == null || khwls.length == 0)
			return;
		if (htDynamic == null)
			htDynamic = new HashMap(10);
		for (int i = 0; i < khwls.length; i++) {
			String key = (new StringBuilder()).append("Tsx_Syg_").append(
					khwls[i].getTsxid()).toString();
			if (khwls[i].getTsxqz() != null
					&& khwls[i].getTsxqz().trim().length() > 0) {
				htDynamic.put(key, khwls[i].getTsxqz());
				continue;
			}
			if (htDynamic.containsKey(key))
				htDynamic.remove(key);
		}

	}

	public void setRksl(UFDouble newRksl) {
		rksl = newRksl;
	}

	public void setSjscddh(String newSjscddh) {
		sjscddh = newSjscddh;
	}

	public void setSjscddid(String newSjscddid) {
		sjscddid = newSjscddid;
	}

	public void setGzzxid(String gzzxid) {
		this.gzzxid = gzzxid;
	}

	public void setBzmc(String bzmc) {
		this.bzmc = bzmc;
	}

	public void setBzid(String bzid) {
		this.bzid = bzid;
	}

	public void setGzzxmc(String gzzxmc) {
		this.gzzxmc = gzzxmc;
	}

	public void setBcid(String bcid) {
		this.bcid = bcid;
	}

	public void setBcmc(String bcmc) {
		this.bcmc = bcmc;
	}

	public void setFrksl(UFDouble frksl) {
		this.frksl = frksl;
	}

	public void setScxid(String scxid) {
		this.scxid = scxid;
	}

	public void setScxmc(String scxmc) {
		this.scxmc = scxmc;
	}

	public UFBoolean getSfypg() {
		return sfypg;
	}

	public void setSfypg(UFBoolean sfypg) {
		this.sfypg = sfypg;
	}

	public String getJudgecode() {
		return judgecode;
	}

	public void setJudgecode(String judgecode) {
		this.judgecode = judgecode;
	}

	private static HashMap hmapFields = null;

	private InvbasdocVO invVO;

	public UFDouble rksl;

	public String sjscddh;

	public String sjscddid;

	public String bomver;

	public UFDate busiDate;

	public Integer dczt;

	public Integer ddlx;

	public String ddlxShow;

	public String durl;

	public Integer dyzt;

	public String dyztShow;

	public UFDouble fjhsl;

	public String fjldw;

	public UFDouble fjlhsl;

	public String fjlid;

	public UFDouble fwcsl;

	public UFDouble frksl;

	public UFDouble dcsl;

	public UFDouble fdcsl;

	public String gcbm;

	public String gcmc;

	private HashMap htDynamic;

	public String invspec;

	public String invtype;

	public String jhjssj;

	public UFDate jhkgrq;

	public String jhkssj;

	public UFDate jhwgrq;

	public UFDouble jhwgsl;

	public String jldw;

	public String jldwid;

	public String ksbm;

	public String ksid;

	public String ksmc;

	public String lydjh;

	public String lyfbid;

	public String lyid;

	public String pickmztshow;

	public Integer lylx;

	public String lylxShow;

	private final int m_htCapacity = 10;

	public String memo;

	public String pch;

	public String pk_corp;

	public String pk_moid;

	public String pk_mokzid;

	public String pk_produce;

	public String pzh;

	public String rtver;

	public String scbm;

	public String scbmid;

	public String scddh;

	public String gzzxid;

	public String gzzxmc;

	public String bzid;

	public String bzmc;

	public String bcid;

	public String bcmc;

	public UFBoolean sfdc;

	public UFBoolean sfjj;

	public UFBoolean sfydc;

	public String shrid;

	public UFDate shrq;

	public String sjjssj;

	public UFDate sjkgrq;

	public String sjkssj;

	public UFDate sjwgrq;

	public UFDouble sjwgsl;

	public String ts;

	public static final String TsxFlag = "Tsx_Syg_";

	public String userid;

	public String userName;

	public String wlbm;

	public String wlbmid;

	public String wlmc;

	public String xsddh;

	public Integer ytlx;

	public String ytid;

	public String ytfbid;

	public String ytdjh;

	public UFDate yjwgrq;

	public String ywy;

	public String ywyid;

	public Integer yxj;

	public String zdrid;

	public UFDate zdrq;

	public String zdy1;

	public String zdy2;

	public String zdy3;

	public String zdy4;

	public String zdy5;

	public String zt;

	public String ztShow;

	public UFBoolean sfypg;

	private String scxid;

	private String scxmc;

	public String judgecode;

	private String clbm;

	private String clmc;

	private String clgg;

	private String clxh;

	private String clth;

	private String clbz;
	
	private String vdef1;
	private String vdef2;
	private String vdef3;
	private String vdef4;
	private String vdef5;
	private String vdef6;
	private String vdef7;
	private String vdef8;
	private String vdef9;
	private String vdef10;
	public String getVdef1() {
		return vdef1;
	}

	public void setVdef1(String vdef1) {
		this.vdef1 = vdef1;
	}

	public String getVdef10() {
		return vdef10;
	}

	public void setVdef10(String vdef10) {
		this.vdef10 = vdef10;
	}

	public String getVdef2() {
		return vdef2;
	}

	public void setVdef2(String vdef2) {
		this.vdef2 = vdef2;
	}

	public String getVdef3() {
		return vdef3;
	}

	public void setVdef3(String vdef3) {
		this.vdef3 = vdef3;
	}

	public String getVdef4() {
		return vdef4;
	}

	public void setVdef4(String vdef4) {
		this.vdef4 = vdef4;
	}

	public String getVdef5() {
		return vdef5;
	}

	public void setVdef5(String vdef5) {
		this.vdef5 = vdef5;
	}

	public String getVdef6() {
		return vdef6;
	}

	public void setVdef6(String vdef6) {
		this.vdef6 = vdef6;
	}

	public String getVdef7() {
		return vdef7;
	}

	public void setVdef7(String vdef7) {
		this.vdef7 = vdef7;
	}

	public String getVdef8() {
		return vdef8;
	}

	public void setVdef8(String vdef8) {
		this.vdef8 = vdef8;
	}

	public String getVdef9() {
		return vdef9;
	}

	public void setVdef9(String vdef9) {
		this.vdef9 = vdef9;
	}
	
	

}


/*
	DECOMPILATION REPORT

	Decompiled from: D:\WorkStuff\NC5011\modules\pd\lib\pubpd.jar
	Total time: 92 ms
	Jad reported messages/errors:
	Exit status: 0
	Caught exceptions:
*/